include(FetchContent)

set(BUILD_ONLY "core;s3" CACHE INTERNAL "单独构建aws-s3")
set(ENABLE_TESTING OFF CACHE INTERNAL "关闭s3测试")
FetchContent_Declare(
        aws-cpp-sdk-s3
        GIT_REPOSITORY https://github.com/aws/aws-sdk-cpp.git
        GIT_TAG 1.9.158
)
FetchContent_MakeAvailable(aws-cpp-sdk-s3)